

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>添加</title>
  {include file="include/top"}

</head>
<body>

<div class="layui-form" lay-filter="layuiadmin-form-tags" id="layuiadmin-app-form-tags" style="padding-top: 30px; text-align: center;">
  <div class="layui-form-item">
    <label class="layui-form-label">上级ID</label>
    <div class="layui-input-inline">
      <input type="number" readonly disabled value="{$id}" name="pathid" lay-verify="required" placeholder="请输入..." autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">类名称</label>
    <div class="layui-input-inline">
      <input type="text" value="{if $gid>0}{$rule['title']}{/if}" name="tags" lay-verify="required" placeholder="请输入..." autocomplete="off" class="layui-input">
    </div>
  </div>
</div>

{include file="include/js"}
<script>
  layui.config({
    base: '../layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form'], function(){
    var $ = layui.$
            ,form = layui.form ;
  })
</script>
</body>
</html>